<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
	<meta charset="UTF-8">
	<title>添加信息</title>
	<meta name="renderer" content="webkit">	
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">	
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">	
	<meta name="apple-mobile-web-app-status-bar-style" content="black">	
	<meta name="apple-mobile-web-app-capable" content="yes">	
	<meta name="format-detection" content="telephone=no">	
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/style/common/layui/css/layui.css" media="all">
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/style/common/bootstrap/css/bootstrap.css" media="all">
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/style/common/global.css" media="all">
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/style/css/personal.css" media="all">
</head>
<body class="childrenBody">
	<form action="${pageContext.request.contextPath}/AdminController/insertAdmin" class="layui-form" style="margin-top: 35px;">
		<div class="layui-form-item">
			<label class="layui-form-label">管理员名</label>
			<div class="layui-input-block">
				<input id="adminName" name="adminName" class="layui-input newsName" lay-verify="required" placeholder="请输入姓名" type="text" style="width: 300px;">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">设置密码</label>
			<div class="layui-input-block">
				<input id="adminPwd" name="adminPwd" class="layui-input" placeholder="请设置密码" type="password" style="width: 300px;">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">上传头像</label>
			<div class="layui-input-block">
				<input type="file" id="adminImg" name="adminImg" class="layui-input" placeholder="请设置头像" type="text" style="width: 300px;">
			</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-input-block">
				<button type="submit" class="layui-btn" lay-submit="" lay-filter="addNews">立即提交</button>
		    </div>
		</div>
	</form>
	<script type="text/javascript" src="${pageContext.request.contextPath}/style/common/layui/layui.js"></script>
	<script type="text/javascript" src="${pageContext.request.contextPath}/style/js/newsadd.js"></script>

</body>
</html>